<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" xmlns:fo="http://www.w3.org/1999/XSL/Format">
	<xsl:import href="../config.xsl"/>
	<xsl:import href="../mdp.xsl"/>
	<xsl:template match="/">
		<msc type="form">
			<head>
				<title>收文</title>
			</head>
			<body>
				<!--标题-->
				<span width="100%" align="center">
					<strong>
						<font color="#FF0000">
					查看流程记录
						</font>
					</strong>
				</span>
				<hr/>
				<!--主体内容展现-->
				<span width='100%'>
					<xsl:apply-templates select="//table[@border='1' and @cellpadding='0']/tr"/>
				</span>
			</body>
		</msc>
	</xsl:template>
	<xsl:template match="tr">
		<xsl:choose>
			<xsl:when test="position()>1">
				<span width="30%">到达时间:</span>
				<span width="70%">
					<xsl:value-of select="td[1]"/>
				</span>
				<span width="30%">签收时间:</span>
				<span width="70%">
					<xsl:value-of select="td[2]"/>
				</span>
				<span width="30%">完成时间:</span>
				<span width="70%">
					<xsl:value-of select="td[3]"/>
				</span>
				<span width="30%">节点名称:</span>
				<span width="70%">
					<xsl:value-of select="td[4]"/>
				</span>
				<span width="30%">操作人员:</span>
				<span width="70%">
					<xsl:value-of select="td[5]"/>
				</span>
				<span width="30%">操作内容:</span>
				<span width="70%">
					<xsl:value-of select="td[6]"/>
				</span>
				<span width="30%">送往人员:</span>
				<span width="70%">
					<xsl:value-of select="td[7]"/>
				</span>
				<hr/><br/>
			</xsl:when>
		</xsl:choose>
	</xsl:template>
</xsl:stylesheet>
